package com.pro.mybatis;

public class Page {
	private int start = 0;
	private int count = 10;
	private int pageNo = 1;
	private int pageSize = 10;
	private Integer accountId;
	
	
	public Integer getAccountId() {
		return accountId;
	}
	public void setAccountId(Integer accountId) {
		this.accountId = accountId;
	}
	public Page(int pageNo, Integer accountId) {
		super();
		this.pageNo = pageNo;
		this.accountId = accountId;
	}
	public Page() {
		super();
	}
	public Page(int pageNo) {
		super();
		this.pageNo = pageNo;
	}
	public int getStart() {
		return (pageNo-1)*pageSize;
//		return start;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public int getPageNo() {
		return pageNo;
	}
	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	
}
